package com.youzikj.wx.core.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 红包
 */
public class Red implements Serializable{
	
	private static final long serialVersionUID = 7493189608802361528L;

	private Integer id;
	
	/**
	 * 任务
	 */
	private Task task;
	
	/**
	 * 领取者
	 */
	private Sub sub;
	
	/**
	 * 类型：1-拆分红包；2-完整红包
	 */
	private Integer type;
	
	/**
	 * 金额
	 */
	private Integer amount;
	
	private Date create_time;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public Sub getSub() {
		return sub;
	}

	public void setSub(Sub sub) {
		this.sub = sub;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	
}
